package com.iris.live.services.data.repositories;

import org.springframework.transaction.annotation.Transactional;
import com.iris.live.services.data.models.报价精品表Model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

/**
 * Created by xiO on 2016/11/10.
 */
@Transactional
public interface 报价精品表Repository extends JpaRepository<报价精品表Model,Integer >, JpaSpecificationExecutor<报价精品表Model> {
    @Query("select m from 报价精品表Model m where m.编号 = ?1 ")
    报价精品表Model findby编号(int 编号 );
}
